package com.aspirecn.core.object;

import org.apache.commons.lang3.ArrayUtils;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

public class XSSExclude {

	//链接中包含的关键字
	private String[] keywords;
	public String[] getKeywords() {
		return keywords;
	}
	public void setKeywords(String[] keywords) {
		this.keywords = keywords;
	}
	public String[] getNofilter_parametername() {
		return nofilter_parametername;
	}
	public void setNofilter_parametername(String[] nofilter_parametername) {
		this.nofilter_parametername = nofilter_parametername;
	}
	//包含关键字时不需要过滤的参数名
	private String[] nofilter_parametername;
	
	
	public boolean isEmpty()
	{
		return ArrayUtils.isEmpty(keywords) && ArrayUtils.isEmpty(nofilter_parametername);
	}
	
	
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
}
